import { Skeleton } from 'antd';
import { lazy, Suspense } from 'react';

const LazyEditor = lazy(() => import('../../lazy/workflow/Editor'));

export default function Editor(props) {
    return <Suspense fallback={<Skeleton active />}><LazyEditor {...props} /></Suspense>
}